<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <!-- 				<meta charset="UTF-8"> -->
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
    <title>消防设备详情 </title>
    <!-- 引入 WeUI CDN 链接 -->
    <link rel="stylesheet" href="https://res.wx.qq.com/open/libs/weui/2.3.0/weui.min.css"/>
    <script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js">
        <script>
        $(document).ready(function(){
            debugger;
            $.ajax({type:"GET",url:'/findDeviceDetailByCode',dataType:'JSON', contentType:'application/json', data:{code:'1111'},
                success:function(result){
                    if(result.success){

                    }else{

                    }
                }});

        });
        function renderValue(code,status,auditUserName,auditTime,memo){
            $("code").html(code);
            $("status").html(status);
            $("auditUserName").html(auditUserName);
            $("auditTime").html(auditTime);
            $("memo").html(memo);

        }
    </script>
</head>
<body>
<!-- 使用 -->
<!--<a href="javascript:;" class="weui-btn weui-btn_primary">绿色按钮</a>-->

<div class="page">

    <div class="page__bd">
        <div class="weui-cells__title">消防设备详情 </div>
        <div class="weui-cells">
            <div class="weui-cell ">
                <div class="weui-cell__bd">
                    <p><span style="color:gray">编码 ：</span><span id="code" th:text="${entity.code}"></span></p>
                </div>
                <!--<div class="weui-cell__ft">说明文字</div>-->
            </div>

        </div>
        <div class="weui-cells">
            <div class="weui-cell ">
                <div class="weui-cell__bd">
                    <p><span style="color:gray">类型 ：</span><span id="code" th:text="${entity.typeText}"></span></p>
                </div>
                <!--<div class="weui-cell__ft">说明文字</div>-->
            </div>

        </div>
        <div class="weui-cells">
            <div class="weui-cell ">

                <div class="weui-cell__bd">
                    <p><span style="color:gray">本月是否已检查 ：</span><span id="status" th:text="${entity.statusText}"></span></p>
                </div>
                <!--<div class="weui-cell__ft">说明文字</div>-->
            </div>

        </div>
        <div class="weui-cells">
            <div class="weui-cell ">
                <div class="weui-cell__bd">
                    <p><span style="color:gray">核查人 ：</span><span id="auditUserName" th:text="${entity.auditUserName}"></span></p>
                </div>
                <!--<div class="weui-cell__ft">说明文字</div>-->
            </div>

        </div>
        <div class="weui-cells">
            <div class="weui-cell ">
                <div class="weui-cell__bd">
                    <p><span style="color:gray">最近一次检查时间  ：</span><span id="auditTime" th:text="${#dates.format(entity.gmtAudit, 'yyyy-MM-dd')}"></span></p>
                </div>
                <!--<div class="weui-cell__ft">说明文字</div>-->
            </div>

        </div>
        <div class="weui-cells">
            <div class="weui-cell ">
                <div class="weui-cell__bd">
                    <p><span style="color:gray">备注  ：</span><span id="memo" th:utext="${entity.memo}"></span></p>
                </div>
                <!--<div class="weui-cell__ft">说明文字</div>-->
            </div>

        </div>
    </div>
</div>

</body>
</html>
